Repository navigation
fix: v1.4.2 — Node 24.22.3, herdr-peers state persisted across rebuilds - #59
Merged
Merged
Conversation
24.21.0 was older than the 24.22.x security line, so a `dck init` downgraded repositories that had pinned 24.22.1 or 24.22.3. BASE_NODE moves to node:24.22.3-trixie-slim (index digest af02d57b…, read from Docker Hub; its config sets NODE_VERSION=24.22.3). NODE_VERSION and the agents layer's tarball checksums move to 24.22.3 as well, from nodejs.org SHASUMS256.txt, re-hashed from the downloaded tarballs. A test keeps the base image and the agents layer on the same release, and the release at or above 24.22.3. Co-Authored-By: Claude Opus 5.5 <[email protected]>
~/.local/state/herdr-peers (the delegation log, lead records, replies, autopilot state) lived in the container's layer, so every rebuild lost asks and a plan's lead records. dck_start now keeps it on the state volume through the new dck_persist_private_dir. The volume copy is 0700 and the files keep their modes. A non-empty directory already in the container moves onto an empty volume; when the volume already has data, the container's copy is moved beside it as <key>.container-<UTC stamp>, never deleted or shadowed. The dev-setup-hook workaround (dck_persist state ... dir) uses the same volume copy, so it becomes a harmless no-op and can be dropped. Tests: entrypoint (recreate keeps a lead record and the log with modes, migration, both sides kept, the workaround's link) and docker (a real rebuild keeps a lead record and the log, 0700/0600). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Patch release; interface stays 2. Stamps VERSION, re-renders the repository's own container (bin/dck init --repo . --yes), and updates README, docs/launcher.md, SECURITY, both skills, AGENTS.md, the CHANGELOG [1.4.2] section and the registry's devcontainer entry (v1.4.2). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Release v1.4.2, a patch release; the interface stays 2. It fixes two problems a downstream adopter hit while upgrading to v1.4.1. herdr-peers v2.2.0, coding-agents-kit v1.5.0 and DeepWorkPlan Vim v1.1.0 are unchanged.
dck initdowngraded repositories that had pinned 24.22.1 or 24.22.3.BASE_NODEis nownode:24.22.3-trixie-slim@sha256:af02d57b…. The Docker registry and the Hub API return the same digest, and the image config setsNODE_VERSION=24.22.3.NODE_VERSIONand the agents layer's tarball checksums come from nodejs.org'sSHASUMS256.txtfor 24.22.3, and I re-hashed both tarballs after downloading them. gpg isn't installed here, so the signature was not checked.dck_startnow keeps~/.local/state/herdr-peers(the delegation log, lead records, replies and autopilot state) on the state volume, through the newdck_persist_private_dir.<key>.container-<UTC stamp>. It is never deleted or hidden behind the volume.dev-setup-hook.shwithdck_persist state "$HOME/.local/state/herdr-peers" dircan remove that line: it points at the same volume copy (docs/herdr.md,docs/entrypoint.md).Commits
fix(images): pin node-24 to Node 24.22.3feat(entrypoint): keep herdr-peers' state on the state volume, with tests:dev.sh rebuildkeeps a lead record and the log, with 0700/0600 modes.chore(release): v1.4.2 …: release stamps, the re-render, and the CHANGELOG[1.4.2]section.Validation
Docker gate: this time the docker scope also ran locally. Docker Desktop is still missing from the host Mac, but its daemon is running, so I used Homebrew's
docker-composeanddocker-buildxplugins through a session-onlyDOCKER_CONFIGto reach it. Theubuntu (unit + docker)CI job remains the authoritative Docker gate on the final head, as it was for v1.4.1.Local results on the final head
c357556:herdr-peers' lead record and log survive a rebuild, private modes kept.devcontainershim points into a VS Code app that has been removed (Code Helper (Plugin): No such file or directory). CI reports the same checks as unavailable.🤖 Generated with Claude Code